package com.um.jdy.common.market.entity.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.um.springboot.starter.orm.entity.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 拼团表
 *
 * @TableName market_group
 */
@TableName(value = "market_group")
@Data
public class Group extends BaseEntity {

    /**
     * 拼团id
     */
    @TableId
    private String marketGroupId;

    private String comId;

    /**
     * 活动商品id
     */
    private String marketActivityGoodsId;

    /**
     * 活动规格id
     */
    private String marketActivityGoodsOptionId;

    /**
     * 拼团状态：Unopen-未开团 | Opened-已开团 | Invalid-已失效
     */
    private String status;

    /**
     * 开团时间
     */
    private Date createTime;

    /**
     * 成团人数
     */
    private Integer groupNum;

    /**
     *
     */
    private String isDelete;

    /**
     *
     */
    private Date deleteTime;

    /**
     * 拼团最终订单
     */
    private String shopOrderIds;

}
